/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rule.mapping;

import java.util.ArrayList;

import rule.Rule;

/**
 *
 * @author livia
 */
public class SemanticMapping {
    ArrayList<Rule> rules;

    public SemanticMapping() {
        rules = new ArrayList<Rule>();
    }

    public void addRule(Rule rule){
        rules.add(rule);
    }
    
    public String toString(){
		String ret="";
		for (Rule r : rules) {
			ret+="\n"+r;
		}
    	return ret;
    }
    

}


